package com.nyp.remoter.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

@Entity
public class CatDogFight extends BaseEntity{
	@ManyToOne
	private Dog dog;
	@ManyToOne
	private Cat cat;
	
	private Date dateOfFight;
	private Long durationOfFight;
	
	public Dog getDog() {
		return dog;
	}
	public void setDog(Dog dog) {
		this.dog = dog;
	}
	public Cat getCat() {
		return cat;
	}
	public void setCat(Cat cat) {
		this.cat = cat;
	}
	public Date getDateOfFight() {
		return dateOfFight;
	}
	public void setDateOfFight(Date dateOfFight) {
		this.dateOfFight = dateOfFight;
	}
	public Long getDurationOfFight() {
		return durationOfFight;
	}
	public void setDurationOfFight(Long durationOfFight) {
		this.durationOfFight = durationOfFight;
	}
}
